#ifndef SAVEASDIALOG_H
#define SAVEASDIALOG_H

#include <QtGui>
#include "ui_saveasdialog.h"

class SaveAsDialog: public QDialog, private Ui::SaveAsDialog
{

Q_OBJECT

public:

SaveAsDialog( QString file_name, QString last_dir );
~SaveAsDialog();

public slots:

void select_format(const QString & format);
QMap<QString, QVariant> return_data();
void set_folder();

signals:

protected:

private:

QStringList get_formats();
QString folder_name;
QString base_name;
QString ext;

};

#endif // SAVEASDIALOG_H
